package com.jgzx.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * url配置文件
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "url")
public class UrlConfigProperties {

    /**
     * 不需要校验token的url
     */
    private List<String> whites = new ArrayList<>();

    public List<String> getWhites() {
        return whites;
    }

    public void setWhites(List<String> whites) {
        this.whites = whites;
    }

}
